package testing;

import java.util.Random;

public class RandomTest {
	public static void main (String [] args) {
		Random random1 = new Random (234234);
		Random random2 = new Random (234234);
		
		
		for (int a = 0 ; a < 10000000; a++) {
			random1.nextDouble();
			random2.nextDouble();
			int n1 = random1.nextInt(20000);
			int n2 = random2.nextInt(20000);
			if (n1 != n2)
				System.out.println("On " + (a+1) + " failed.");
		}
	}
}
